package com.neu.wms.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：fengSir
 * @date ：Created By 2023-06-23 11:30
 * @description ：查询全部用户时，后台给前台传递数据使用
 */
@Data
public class UserVo implements Serializable {
    private Integer id;

    private String userName;

    private String nickName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    private String tel;

    private String headImg;
    private String deptName;

    private static final long serialVersionUID = 1L;
}
